<!DOCTYPE html>

#set(title="全部用户")
#@layout()

#define body()
<h1>显示表单&nbsp;&nbsp;
    <a href="/_view/data/add.html">创建用户</a>
</h1>
<div class="table_box">
    <table class="list">
        <tbody>
        <tr>
            <th width="4%">id</th>
            <th width="18%">用户名</th>
            <th width="17%">密码</th>
            <th width="12%">操作</th>
        </tr>
        #for(x : blogPage)
        <tr>
            <td><img src="/userimg/#(x.headsculp)" style="height: 15px;width: 15px;"></td>
            <td style="text-align:left;">#(x.id)</td>
            <td style="text-align:left;">#(x.username)</td>
            <td style="text-align:left;">#(x.pwd)</td>
            <td style="text-align:left;">
                &nbsp;&nbsp;<a href="/data/delete/#(x.id)">删除</a>
                &nbsp;&nbsp;<a href="/data/edit/#(x.id)">修改</a>
            </td>
        </tr>
        #end
        </tbody>
    </table>
</div>

#end